from django.conf.urls import url
from apps.cart.views import CartDeleteView, CartAddView, CartInfoView, CartUpdateView

urlpatterns = [
    url(r'^add$', CartAddView.as_view(), name='add'),  # 添加购物车记录
    url(r'^info$', CartInfoView.as_view(), name='info'),  # 显示购物车信息
    url(r'^update$', CartUpdateView.as_view(), name='update'),  # 更新购物车记录
    url(r'^delete$', CartDeleteView.as_view(), name='delete'),  # 购物车记录删除
]
